<?php

/**
 * catalog actions.
 *
 * @package    retailbrain
 * @subpackage catalog
 * @author     Your name here
 * @version    SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class catalogActions extends sfActions {

    /**
     * Executes index action
     *
     * @param sfRequest $request A request object
     */
    public function executeIndex(sfWebRequest $request) {
        
        $this->title = "Catalogos";
        $this->breadcrumbs = array(array("Catalogos", "catalog/index"));

         $q = Doctrine_Query::create()
                ->from('StorePhotos s')
                 ->innerJoin('s.CategoryPhoto cp')
                 ->innerJoin('s.Users u');

        $this->photos = $q->fetchArray();
        
       
        
    }

}
